package fabrica2.persistencia;

import java.util.List;

import fabrica2.excecoes.DAOException;

public interface Dao<T> {

	public T persistir(T elemento) throws DAOException;

	public void remover(T elemento) throws DAOException;

	public List<T> listar() throws DAOException;
	
	public T getPorId(int id) throws DAOException;
	
	public void removerPorId (int id) throws DAOException;

}